﻿using System;
using System.Collections.Generic;
using System.Text;

namespace StockTrader.DAL.HastcAdapter.FileParser.Structure
{
    [Serializable]
    public class STS_TRADING_RESULT
    {
        #region Properties
        private string m_strFloorCode;
        private DateTime m_dtTradingDate;
        private string m_strConfirmNo;
        private string m_strBOrderNo;
        private DateTime m_dtBOrderDate;
        private string m_strSOrderNo;
        private DateTime m_dtSOrderDate;
        private decimal m_dcBNextCnfrm;
        private decimal m_dcSNextCnfrm;
        private string m_strMatchTime;
        private DateTime m_dtMatchDate;
        private decimal m_dcBTradingId;
        private decimal m_dcSTradingId;
        private string m_strBCodeTrade;
        private string m_strSCodeTrade;
        private decimal m_dcStatus;
        private string m_strSecCode;
        private decimal m_dcQuantity;
        private decimal m_dcPrice;
        private string m_strBAccountNo;
        private string m_strSAccountNo;
        private decimal m_dcSettType;
        private decimal m_dcSettDate;
        private string m_strBPcFlag;
        private string m_strSPcFlag;
        private decimal m_dcNorp;

        public STS_TRADING_RESULT()
        { }

        public string FLOOR_CODE
        {
            get
            {
                return m_strFloorCode;
            }
            set
            {
                m_strFloorCode = value;
            }
        }
        public DateTime TRADING_DATE
        {
            get
            {
                return m_dtTradingDate;
            }
            set
            {
                m_dtTradingDate = value;
            }
        }
        public string CONFIRM_NO
        {
            get
            {
                return m_strConfirmNo;
            }
            set
            {
                m_strConfirmNo = value;
            }
        }
        public string B_ORDER_NO
        {
            get
            {
                return m_strBOrderNo;
            }
            set
            {
                m_strBOrderNo = value;
            }
        }
        public DateTime B_ORDER_DATE
        {
            get
            {
                return m_dtBOrderDate;
            }
            set
            {
                m_dtBOrderDate = value;
            }
        }
        public string S_ORDER_NO
        {
            get
            {
                return m_strSOrderNo;
            }
            set
            {
                m_strSOrderNo = value;
            }
        }
        public DateTime S_ORDER_DATE
        {
            get
            {
                return m_dtSOrderDate;
            }
            set
            {
                m_dtSOrderDate = value;
            }
        }
        public decimal B_NEXT_CNFRM
        {
            get
            {
                return m_dcBNextCnfrm;
            }
            set
            {
                m_dcBNextCnfrm = value;
            }
        }
        public decimal S_NEXT_CNFRM
        {
            get
            {
                return m_dcSNextCnfrm;
            }
            set
            {
                m_dcSNextCnfrm = value;
            }
        }
        public string MATCH_TIME
        {
            get
            {
                return m_strMatchTime;
            }
            set
            {
                m_strMatchTime = value;
            }
        }
        public DateTime MATCH_DATE
        {
            get
            {
                return m_dtMatchDate;
            }
            set
            {
                m_dtMatchDate = value;
            }
        }
        public decimal B_TRADING_ID
        {
            get
            {
                return m_dcBTradingId;
            }
            set
            {
                m_dcBTradingId = value;
            }
        }
        public decimal S_TRADING_ID
        {
            get
            {
                return m_dcSTradingId;
            }
            set
            {
                m_dcSTradingId = value;
            }
        }
        public string B_CODE_TRADE
        {
            get
            {
                return m_strBCodeTrade;
            }
            set
            {
                m_strBCodeTrade = value;
            }
        }
        public string S_CODE_TRADE
        {
            get
            {
                return m_strSCodeTrade;
            }
            set
            {
                m_strSCodeTrade = value;
            }
        }
        public decimal STATUS
        {
            get
            {
                return m_dcStatus;
            }
            set
            {
                m_dcStatus = value;
            }
        }
        public string SEC_CODE
        {
            get
            {
                return m_strSecCode;
            }
            set
            {
                m_strSecCode = value;
            }
        }
        public decimal QUANTITY
        {
            get
            {
                return m_dcQuantity;
            }
            set
            {
                m_dcQuantity = value;
            }
        }
        public decimal PRICE
        {
            get
            {
                return m_dcPrice;
            }
            set
            {
                m_dcPrice = value;
            }
        }
        public string B_ACCOUNT_NO
        {
            get
            {
                return m_strBAccountNo;
            }
            set
            {
                m_strBAccountNo = value;
            }
        }
        public string S_ACCOUNT_NO
        {
            get
            {
                return m_strSAccountNo;
            }
            set
            {
                m_strSAccountNo = value;
            }
        }
        public decimal SETT_TYPE
        {
            get
            {
                return m_dcSettType;
            }
            set
            {
                m_dcSettType = value;
            }
        }
        public decimal SETT_DATE
        {
            get
            {
                return m_dcSettDate;
            }
            set
            {
                m_dcSettDate = value;
            }
        }
        public string B_PC_FLAG
        {
            get
            {
                return m_strBPcFlag;
            }
            set
            {
                m_strBPcFlag = value;
            }
        }
        public string S_PC_FLAG
        {
            get
            {
                return m_strSPcFlag;
            }
            set
            {
                m_strSPcFlag = value;
            }
        }
        public decimal NORP
        {
            get
            {
                return m_dcNorp;
            }
            set
            {
                m_dcNorp = value;
            }
        }

        public STS_TRADING_RESULT(string flrcode, DateTime tradingdate, string confirmno, string borderno, DateTime borderdate, string sorderno, DateTime sorderdate, decimal bnextcfm, decimal snextcfm, string matchtime, DateTime matdate, decimal btradingid, decimal stradingid, string bcodetrade, string scodetrade, decimal status, string seccode, decimal qtty, decimal price, string baccountno, string saccountno, decimal setttype, decimal settypedate, string bpcflag, string spcflag, decimal norp)
        {
            this.m_strFloorCode = flrcode;
            this.m_dtTradingDate = tradingdate;
            this.m_strConfirmNo = confirmno;
            this.m_strBOrderNo = borderno;
            this.m_dtBOrderDate = borderdate;
            this.m_strSOrderNo = sorderno;
            this.m_dtSOrderDate = sorderdate;
            this.m_dcBNextCnfrm = bnextcfm;
            this.m_dcSNextCnfrm = snextcfm;
            this.m_strMatchTime = matchtime;
            this.m_dtMatchDate = matdate;
            this.m_dcBTradingId = btradingid;
            this.m_dcSTradingId = stradingid;
            this.m_strBCodeTrade = bcodetrade;
            this.m_strSCodeTrade = scodetrade;
            this.m_dcStatus = status;
            this.m_strSecCode = seccode;
            this.m_dcQuantity = qtty;
            this.m_dcPrice = price;
            this.m_strBAccountNo = baccountno;
            this.m_strSAccountNo = saccountno;
            this.m_dcSettType = setttype;
            this.m_dcSettDate = settypedate;
            this.m_strBPcFlag = bpcflag;
            this.m_strSPcFlag = spcflag;
            this.m_dcNorp = norp;
        
        }
        #endregion
    }
}
